﻿Public Class frmAbout
    Private _AllowClose As Boolean = False
    Public Sub DoClose()
        _AllowClose = True
        Me.Close()
    End Sub
    Private Sub frmAbout_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
        If Not _AllowClose Then
            e.Cancel = True
            Me.Hide()
        End If
    End Sub
End Class